Usually you store values in fields. Variables are for storing values temporarily within a single message handler or globally to be used (or changed) by any script. Variables can have any single-word name. Variables don't use quotes.
put 0 into subTotal
add field 3 to subTotal
You don't need to declare variables; just store into them on the fly. Make a global variable by using the Global* command.